home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1229 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: jasmine.cms.dmu.ac.uk!se4pm
  2. From: se4pm@dmu.ac.uk (Piers Myers)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: newbie need help with pointers
  5. Date: 9 Jan 1996 18:33:47 GMT
  6. Organization: De Montfort University, Leicester
  7. Distribution: world
  8. Message-ID: <4cuceb$eea@macondo.dmu.ac.uk>
  9. References: <4cse34$308@news.iconn.net>
  10. NNTP-Posting-Host: jasmine.cms.dmu.ac.uk
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. In article <4cse34$308@news.iconn.net>, The Crow (thecrow@iconn.net) writes:
  14. > Hey,
  15. >     Ok, I understand what pointers *are*, I know how to declare one, how to 
  16. > use them with simple things and sometimes how to use them to do dynamic memory 
  17. > allocation.  I don't feel very comfortable with them yet, nor have I seen any 
  18. > practical example of where they are useful *except* for dynamic memory 
  19. > allocation and in functions...and in arrays, but I am not very comfortable in 
  20. > any of these uses anyway, and can't think of a real problem where it would be 
  21. > advantageous or neccesary to use them. I have also had some trouble using them 
  22. > with STRUCTURE arrays (havent tried classes yet but I assume I will run into 
  23. > similar problems) 
  24.  
  25. >     If anyone has a good idea for a programming exercise that would get me 
  26. > familiar with pointers tell me.  My tutorial's exercises are way too easy. If 
  27. > it was an interesting one that would be nice, but just so I get comfortable 
  28. > with them.  I don't really know them well enough to think of  a good exercise 
  29. > myself, or I would.  Thanks for the help in advance.  Please reply via email, 
  30. > this newsgroup grows too fast. Thanks.
  31.  
  32. > -- 
  33. > The Crow - thecrow@iconn.net
  34. > "It can't rain all the time"
  35. > -Kryptology
  36.  
  37. You could try to write a double linked list iteration, insertion and deletion.
  38.  
  39. Piers
  40.